import type { Role } from "../auth/type"

export type User = {
    id: string,
    sex: string,
    avatar: string,
    nickname: string,
    username: string,
    password: string,
    phone: string
}

export type UserInfo = {
    id: string,
    sex: string,
    avatar: string,
    nickname: string,
    username: string,
    password: string,
    phone: string,
    role: Role[],
    email: string,
    status: number
}